home *** CD-ROM | disk | FTP | other *** search
/ Gamer's Paradise: Sports / Hracuv-raj-Sportovni-Hry.bin / Česká Liga 2000 / SHOWJPNG.DOC < prev    next >
Encoding:
Text File  |  1998-04-02  |  6.8 KB  |  187 lines

  1.  
  2.  
  3.  
  4.                                ShowJPNG 3.00
  5.  
  6.         Copyright (c) 1995-98 by Jan Patera, All Rights Reserved
  7.                          Patera@km1.fjfi.cvut.cz
  8.  
  9.                     Ultra-fast JPEG and PNG image viewer
  10.     with capability of displaying and scrolling during decompression.
  11.          Image swapping to XMS when out of conventional memory.
  12.  
  13.  
  14.  
  15. Usage: ShowJPNG.exe File_name [Width] [-q] [-l] [-e]
  16.  
  17.    File_Name  is  a  name  of  the  file  to  be  viewed, must include an
  18. extension and may include a path.
  19.    Optional parameter Width is a number saying the width in pixels of the
  20. graphics  mode you  want to  view the  image in.  Your video adapter must
  21. support any graphics  mode with this width (what  a surprise!). This mode
  22. must be 256 color for black-and-white JPG images and must be HiColor (32k
  23. or 64k colors) or  TrueColor (16m colors)  for color  JPG images. For PNG
  24. images, it depends on the color depth  of the image - it may vary from 16
  25. colors to TrueColor. If this parameter is not specified, ShowJPNG chooses
  26. the best mode in  that all or possibly the biggest part of the image that
  27. can  be displayed. A TrueColor  mode rather than  a HiColor one is chosen
  28. for TrueColor images.
  29.    Optional  parameter -q  or -Q  commands the ShowJPNG to decompress the
  30. JPG image preserving the maximum quality  of the image. If specified, the
  31. decompression is slower than if not specified.
  32.    Optional parameter -l or -L allows to use the left mouse button to end
  33. ShowJPNG, instead of the default right button. This is usable for example
  34. in publicly accessible info-boxes with a screen and a simple touchpad.
  35.    Optional parameter -e or -E forces ShowJPNG to exit immediatelly after
  36. full  decompression  of the image, while the image is left on the screen.
  37. This feature allows to use ShowJPNG as a simple banner displayer in other
  38. software packages.
  39.  
  40. Examples:
  41.  
  42.  ShowJPNG parrot.jpg
  43.  ShowJPNG e:girl.jff 1192 -Q
  44.  ShowJPNG ..\country\house.jif   1280 -l -e
  45.  
  46.  
  47.    You  may  scroll  the  image  in  all  directions  using  a  mouse and
  48. a keyboard.
  49.    Scrolling is even available during decompression.
  50. Use these keys to scroll:
  51. "Left" - moves the image to the right and displays next part on the left
  52. "Right" - moves the image to the left and displays next part on the right
  53. "Up" - moves the image down and displays next part toward the top
  54. "Dn" - moves the image up and displays next part toward the bottom
  55. "PgUp" - displays the top of the image
  56. "PgDn" - displays the bottom of the image
  57. "Home" - displays the left side of the image
  58. "End" - displays the right side of the image
  59.  
  60.    Zooming can be  performed by pressing + (plus,  Zoom-in) and - (minus,
  61. Zoom-out) keys on the numeric keypad. Zooming is actually switching among
  62. graphics modes  with higher or  lower resolution. With  TrueColor images,
  63. all TrueColor (16m colors), all HiColor (32k colors) and all HiColor (64k
  64. colors)  modes are  looped  cyclically.  Notice that  transformations are
  65. performed when switching among 16m, 32k and 64k color modes. So the image
  66. looses its quality after displaying in any HiColor mode.
  67.  
  68.    Viewing can be ended by pressing Esc, Enter or Space or mouse button.
  69.  
  70.  
  71.  
  72. I would like  to thank Douglas  Bashford for his  careful reading of  all
  73. texts in this package and corrections  of my mistakes. Release of English
  74. version of ShowJPNG would be impossible without his effort.
  75.  
  76.  
  77.  
  78. HISTORY of ShowJPG and ShowJPNG
  79.  
  80. 1.0 - March 1995 - First public release
  81.  
  82. 2.0 - November 1995
  83.   - Sped up by 4 times.
  84.   - Option for extra-quality decompression added.
  85.   - Mouse support added.
  86.   - Support of non-standard graphics modes added.
  87.   - Displaying in 32bit TrueColor modes fixed.
  88.   - Choosing of graphics modes by specifying width of the mode rather than
  89.     illogical mode numbers.
  90.  
  91. 2.1 - January 1996
  92.   - Support of MacBinary files with JPEG compression added.
  93.  
  94. 2.2 - February 1996
  95.   - Displaying very wide images fixed.
  96.   - Only a part of the image is displayed if it is too large to fit in
  97.     memory.
  98.  
  99. 2.25 - March 1996
  100.   - Reading of images with 4:1:1 subsampling fixed
  101.   - Reading of some images with 1:1:1 subsampling fixed.
  102.  
  103. 2.50 - January 1997
  104.   - Support of Progressive mode images from the Internet added.
  105.   - Displaying in 32bit TrueColor modes really fixed.
  106.     It really was not fixed in the 2.0 release.
  107.     Why did nobody report this BUG?????????????
  108.  
  109. 2.51 - February 1997
  110.   - Decompressing of Progressive Mode JPEGs with unusual color component
  111.     IDs fixed.
  112.  
  113. 2.52, 2.52b - February 1997
  114.   - Images that are too large and they do not fit in any TrueColor mode,
  115.     are automatically displayed in the best HiColor mode to fit on the
  116.     screen now.
  117.  
  118. 2.52c - March 1997
  119.  
  120.   - Reading of Progressive Mode JPEGs fixed.
  121.  
  122. 2.52d - October 1997
  123.  
  124.   - ShowJPG allows to use the left mouse button instead of the right.
  125.  
  126. 2.52e - November 1997
  127.  
  128.   - Decompressing of Progressive Mode JPEGs with no refine scans
  129.     (e.g. created with Adobe Photoshop 4) fixed.
  130.  
  131. 2.60  - February 1998
  132.  
  133.   - Decompressing of Progressive Mode JPEGs with subsampling 1:1:1
  134.     and 2:1:1 added.
  135.  
  136. 3.00  - April 1998
  137.  
  138.   - Renamed to ShowJPNG.
  139.   - Support of PNGs added.
  140.  
  141. ShowJPNG  requires:
  142. -386 processor or better
  143. -VGA videoadapter with VESA BIOS
  144.  
  145. ShowJPNG  recommends:
  146. -XMS
  147.  
  148. ShowJPNG supports:
  149. -Progressive Mode JPEG,  Baseline JFIF-JPEG,  Raw JPEG  and MacBinaryJPEG
  150.  images in grayscales and in YCbCr (TrueColor) color scheme
  151. -JPEG Subsampling types 1x1:1:1, 2x1:1:1 (2:1:1) and 2x2:1:1 (4:1:1) only
  152. -2, 4, 16, 256 colors paletted PNG images
  153. -24, 48bit TrueColor PNG images
  154. -8, 16bit gray scale PNG images
  155. -alpha channel in gray scale and 24bit TrueColor PNG images
  156. -interlaced PNG images but 2, 4 and 16 color images
  157.  
  158.  
  159.  
  160. I have to say that:
  161. -I have  recoded a routine for  Reverse DCT into assembler  directly from
  162. the source texts by the Independent JPEG Group, Releases 3 and 4,
  163. -I have  borrowed the overview of  the JPEG file structure  from the same
  164. source.
  165. -I have  borrowed the overview  of the Progressive  Mode JPEG compression
  166. algorithm from the same source, Release 6.
  167.  
  168.  
  169.  
  170. This software is freeware, so you may use it as freely as you want to and
  171. where you want to. No fees for the author are required.
  172. All  warranties  are  disclaimed,  including  damage  to  hardware and/or
  173. software from use of this product. In  no event will I be held liable for
  174. any damages, including lost profits,  lost savings or other incidental or
  175. consequential damages  arising out of  your use or  inability to use  the
  176. program, or any other claim by any other party.
  177.  
  178. Please, send  your impressions, suggestions and  reports via the Internet
  179. to:
  180.  
  181.  patera@km1.fjfi.cvut.cz
  182.  
  183. The newest version can be got from:
  184.  
  185.  http://pascal.fjfi.cvut.cz/~patera/pictview
  186.  http://www.geocities.com/SiliconValley/Pines/9994
  187.